home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / GameKit / Headers / gamekit / HighScoreController.h < prev    next >
Text File  |  1995-06-12  |  2KB  |  54 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import <appkit/appkit.h>
  5. #import <machkit/senderIsInvalid.h>
  6.  
  7.  
  8. @interface HighScoreController:Object <HighScoreClient, NXSenderIsInvalid>
  9. {
  10.     id    gameInfo;            // the app's gameInfo object
  11.     id  localTables;        // contains HighScoreTables or subclass thereof.
  12.     id  remoteTables;        // contains HighScoreTables or subclass thereof.
  13.     id  localServers;        // the objects which serve high scores (local)
  14.     id  remoteServers;        // the objects which serve high scores (remote)
  15.     id  serverNames;        // contains the names of each server
  16.     id    strings;            // NXStringTable
  17.     id  highScorePanel;        // window with high score (top 10) matrix    
  18.     id  preferences;        // PreferencesBrain object
  19.     id  scoreKeeper;
  20.     id  clearMenu;            // Clear High Scores Menu item
  21.     BOOL localScores;        // are we using the server or the local file?
  22.     BOOL connected;            // are we connected to the server?
  23.     char *serverHost;
  24.     int lastTableNum;
  25. }
  26.  
  27. - init;
  28. - appDidInit:sender;
  29. - connectToServers;
  30. - setLocalScores:(BOOL)flag;
  31. - closeServers;
  32. - (BOOL)connected;
  33. - (BOOL)localScores;
  34. - senderIsInvalid:sender;
  35. - (char *)serverHost;
  36. - setServerHost:(const char *)name;
  37. - table:(int)num;
  38. - nameForSlot:(int)slotNum inTable:(int)tableNum is:(const char *)newName;
  39. - serverForName:aString;
  40. - (int)serverNumberFromName:aString;
  41. - (int)highScore:(int)num;
  42. - (int)highestScore;
  43. - zeroHighScores;
  44. - tableProtoType;
  45. - setHighScoreWindowTitle;
  46. - displayHighScores:sender;
  47. - putInHighScores:aSlot;
  48. - clearHighScores:sender;
  49. - scoreKeeper;
  50. - setScoreKeeper:newKeeper;
  51. - (BOOL)slotIsEligible:aSlot;
  52.  
  53. @end        
  54.